/*============================================================================*/
/*                              x embedded systems                            */
/*============================================================================*/
/*                        OBJECT SPECIFICATION                                */
/*============================================================================*
* %name:            cpu_config.h%
* %version:         1.0%
* %created_by:      David Robles%
* %date_created:    March 02 2012%
*=============================================================================*/
/* DESCRIPTION : CPU/Oscillator handling                                      */
/*============================================================================*/
/* FUNCTION COMMENT : Provices APIs to configure and use this project         */
/*                    in PIC micro                                            */
/*                                                                            */
/*============================================================================*/
/*                               OBJECT HISTORY                               */
/*============================================================================*/
/*  REVISION |   DATE      |                               |      AUTHOR      */
/*----------------------------------------------------------------------------*/
/*  1.0      | 14/03/2012  |                               | David Robles     */
/* File created                                                               */
/* Added macros: Some features does not work in certain tools, so we have     */
/* to define the tool used. It was necessary because with MPLAB SIM was not   */
/* possible simulate the IOFS bit.                                            */
/*============================================================================*/

#ifndef PRJT_CONFIG_H                   /* To avoid double inclusion */
#define PRJT_CONFIG_H

/* Includes */
/* -------- */
#include "stdtypedef.h"

/*======================================================*/ 
/* CONFIGURATION SECTION                                */
/*======================================================*/

/* DEBBUGER TOOL SELECTION */

/* Some features does not work in certain tools, so we have to define the tool used */
/* The uncommented line refer to the tool used */
//#define MPLAB_SIM
#define PICKIT3


/*****************  CONFIGURATION BITS  ***********************/
/* Clock source is internal oscilator with R6 like digital I/O */
#pragma config FOSC = INTOSCIO_EC
/* Disable watch dog */
#pragma config WDT = OFF
/* Portb analog inputs are disabled */
#pragma config PBADEN = OFF
/* MCLR Pin Enable bit: MCLR pin enabled; RE3 input pin disabled */
#pragma config MCLRE = ON
/* Single-Supply ICSP Enable bit: Single-Supply ICSP disabled */
#pragma config LVP = OFF



//#define _RAW_DELAY_
#define _SW_TIMERS_USAGE_


#endif